package com.zzx.auth.model.result;

/**
 * 公共返回对象
 * @param <T>
 */
public class CommonResultBean<T> extends BaseResult {

    private T data;

    public CommonResultBean(boolean success, String describe,T data) {
        this.data = data;
        super.setDescribe(describe);
        super.setSuccess(success);
    }

    @Override
    public String toString() {
        return "CommonResultBean{" +
                "data=" + data +
                '}';
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
